
#include "Types.h"

#include "Runtime.Low/Pipeline/Pipeline.h"

using namespace std;
using namespace TTGLib::Pipeline;
class 2DEqScatterer :public Node<pair<Layer *, Layer *>, LayerPart>
{
	virtual void process(Layer *data)
	{
		for (size_t x = 0; x < 16; x++)
			for (size_t y = 0; y < 16; y++)
			{
				size_t x_start = data->getWidth() * x / 16;
				size_t y_start = data->getHeight() * y / 16;
				sendNext(new LayerPart(data,
									   data->getWidth() / 16,
									   data->getHeight() / 16,
									   ));
			}
	}
}

int _tmain(int argc, _TCHAR* argv[])
{
	return 0;
}